﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using WebApiV3.Data.Entity;

namespace WebApiV3.Data
{
    public class Admin10086525DbContext:DbContext
    {
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) 
        {
            var str = "server=DESKTOP-S3544UE\\SQLEXPRESS;database=Admin10086525;uid=sa;pwd=123456";
            optionsBuilder.UseSqlServer(str);
        }
        public DbSet<Users> Users { get; set; }

        public DbSet<Ranks> Ranks { get; set; }

        public DbSet<Logs> Logs { get; set; }
    }
}
